package com.starinside.wp.config;


import com.starinside.wp.utils.JsonUtils;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * wechat mp properties
 *
 * @author Binary Wang(https://github.com/binarywang)
 */
@Data
@ConfigurationProperties(prefix = "wx.sms")
public class WxSMSProperties {
    private String apihost;
    private String sendpoint;
    private String validpoint;
    private String clearpoint;

    @Override
    public String toString() {
        return JsonUtils.toJson(this);
    }
}
